<?php
use think\facade\Route;
Route::resource('index','index');
Route::post('auth/login','auth/login');
Route::post('auth/examinerLogin','auth/examinerLogin');
Route::resource('auth','auth');
Route::resource('active','active')->middleware('Auth');
Route::post('files/answer','files/answer');
Route::post('files/faceImg','files/faceImg');
Route::resource('files','files');
Route::post('examinee/answer','examinee/answer')->middleware('Auth');
Route::resource('examinee','examinee')->middleware('Auth');

Route::post('examiner/bindPhone','examiner/bindPhone')->middleware('Auth');
Route::resource('examiner','examiner')->middleware('Auth');

Route::get('script/upload','script/uploadFilesToOSS');
Route::get('script/compress','script/compressOssFiles');